package com.peas.platform.module.icims.base.dict.dto;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

// 数据字典类型
@Data
@EqualsAndHashCode(callSuper = false)
public class DictTypeDto extends BaseDto {

    // 数据字典类型编码
    @Comment(value = "数据字典类型编码")
    @Condition(operator = ConditionOperator.IN)
    private String dictType;

    // 数据字典类型名称
    @Comment(value = "数据字典类型名称")
    private String dictName;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    // 排序权重
    @Comment(value = "排序权重")
    private Integer weight;

    // 适用模块
    // 枚举取值:Module
    @Comment(value = "适用模块", enumType = "Module")
    @Condition(operator = ConditionOperator.IN)
    private String module;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
